#/*************************************************************************
#    > File Name: calc/calc_BASDA.py
#    > Author: Yan Wang
#    > Mail: wangyan@imnu.edu.cn
#    > Created Time: 2022年07月21日 星期四 16时40分06秒
# ************************************************************************/
#!/usr/bin/env python
# -*- coding: utf-8 -*-


from calc_setting import * 

# 收集ARCH结果， 生成BASDA control文件
print("In calc_BASDA:, the general ARCH_tmp_name is ", ARCH_dir["tmp_name"])
ARCH_results=Get_Cross_after_ARCH(ARCH_dir["tmp_name"], param_length,ARCH_dir["summary_folder"])

Collect_ARCH_Cross(theoretical_para_file_name,df_para, ARCH_results,ARCH_dir["param_out_file"])

#Generate_Hotmap_Data_from_Para_and_Value(theoretical_para_file_name, df_para, ARCH_results["cross"],ARCH_dir["plot"]["hotmap_out_file"],ARCH_dir["plot"]["hotmap_variable_name"])
#Generate_Hotmap_Code(ARCH_dir["plot"], template_code="/public/home/yancy/Code/Git/auto_mab/Examples/test_input/hotmap.C")
#Generate_Multi_BASDA_Control_File(ARCH_cut_cross, BASDA_control_dir, BASDA_replaced_para)
